package com.zsg.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import java.util.List;

@ApiModel("用户实体")
@Data
public class User {

  @ApiModelProperty(value = "主键Id")
  private Integer id;
  @ApiModelProperty(value = "用户姓名")
  private String username;
  @ApiModelProperty(value = "用户密码")
  private String password;
  @ApiModelProperty(value = "部门ID")
  private Integer deptno;
  @ApiModelProperty(value = "盐")
  private String salt;
  @ApiModelProperty(value = "角色列表")
  private List<Role> roles;



}
